package stw.brassdawn.map;

public class MapPosition {
	// layers
	private int myTerrainID;
	private int myStructureID;
	private int myUnitID;
	
	public static final int EMPTY = -1;
	public static final int INVALID_POSITION = -100;
	public static final int DUPLICATE_UNIT = -101;
	public static final int OCCUPIED = -102;
	
	public MapPosition() {
		this( MapPosition.EMPTY, MapPosition.EMPTY, MapPosition.EMPTY );
	}
	
	public MapPosition( int terrainID, int structureID, int unitID ) {
		myTerrainID = terrainID;
		myStructureID = structureID;
		myUnitID = unitID;
	}

	public int getTerrainID() {
		return myTerrainID;
	}

	public void setTerrainID(int terrainID) {
		this.myTerrainID = terrainID;
	}

	public int getStructureID() {
		return myStructureID;
	}

	public void setStructureID(int structureID) {
		this.myStructureID = structureID;
	}

	public int getUnitID() {
		return myUnitID;
	}

	public void setUnitID(int unitID) {
		this.myUnitID = unitID;
	}
}
